package com.project;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动程序
 */
@SpringBootApplication()
@MapperScan("com.project.*.mapper")
public class OrderMealApplication {

    private static Logger logger = LoggerFactory.getLogger(OrderMealApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(OrderMealApplication.class, args);
        logger.info(OrderMealApplication.class.getSimpleName() + "：启动成功！");
    }
}